package com.yami.shop.consign.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.vo.DingMarket;
import com.yami.shop.bean.vo.DingProduct;
import com.yami.shop.bean.vo.ProdConsignInfoVO;
import com.yami.shop.bean.vo.ProdConsignVO;
import com.yami.shop.consign.common.model.ProdConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProdConfigMapper extends BaseMapper<ProdConfig> {

    List<ProdConsignVO> getprodList(@Param("type") Integer type, @Param("prodName") String prodName, @Param("seriesId")Integer seriesId);


    /**
     * 获取单个商品寄售列表
     * @param type
     * @param prodId
     * @return
     */
    List<ProdConsignInfoVO> getAppProdInfoList(@Param("type")Integer type, @Param("prodId")Integer prodId);
    
    
    List<DingProduct> getDingProdList();
    
    List<DingMarket> getMarketByDing();
    
}
